package edu.westga.movierec.recommendertests.reader;
import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

import edu.westga.movierec.model.*;

/**
 * Test methods for {@link edu.westga.movierec.model.Recommender#Recommender()
 * 					@link edu.westga.movierec.model.Recommender#IsDatabaseOpen()}.
 * 
 * @author Jean Cook, CS 6242, Fall 2009
 *
 */
public class WhenCreated {
	private Recommender theRec;
	/**
	 * @throws java.lang.Exception
	 */
	@Before
	public void setUp() throws Exception {
		this.theRec = new Recommender();
	}

	
	@Test
	public void connectionShouldExist() {
		assertTrue(this.theRec.isDatabaseOpen());
	}

}
